package com.haiya.common.domain.model;

/**
 * @author qiaoguoqiang
 */
public interface ValidationNotificationHandler {

    /**
     * 处理错误
     * @param aNotificationMessage
     */
    public void handleError(String aNotificationMessage);

    /**
     * 处理错误
     * @param aNotification
     * @param anObject
     */
    public void handleError(String aNotification, Object anObject);

    /**
     * 处理信息
     * @param aNotificationMessage
     */
    public void handleInfo(String aNotificationMessage);

    /**
     * 处理信息
     * @param aNotification
     * @param anObject
     */
    public void handleInfo(String aNotification, Object anObject);

    /**
     * 处理警告
     * @param aNotificationMessage
     */
    public void handleWarning(String aNotificationMessage);

    /**
     * 处理警告
     * @param aNotification
     * @param anObject
     */
    public void handleWarning(String aNotification, Object anObject);
}
